package com.hotel.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hotel.dao.mapper.RoomInfoMapper;
import com.hotel.entity.RoomInfo;


@Service
public class RoomService {

	@Autowired
	private RoomInfoMapper roomMapper;
	
	
	public RoomInfo getRoomInfoById(int userId) {
		return this.roomMapper.selectByPrimaryKey(userId);  
	} 
	
}
